package com;

import javax.jws.WebMethod;
import javax.jws.WebService;
import java.util.ArrayList;
import java.util.List;

@WebService
public class Test {
    @WebMethod(operationName = "sayy")
    public String say(String s) {
        if (s == "") {
            return s;
        }
        return "Hello";
    }
    @WebMethod(operationName = "getList")
     public List hh(String what) {
        List result = new ArrayList();
        result.add(what);
        return result;
     }
}
